// pages/tab-bar/coach/mine/mine.js
Component({

  /**
   * 页面的初始数据
   */
  data: {

  },

 /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    console.log("coach mine onload")
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    console.log("coach mine onReady")
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    console.log("coach mine onShow")
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
    console.log("coach mine onHide")
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
    console.log("coach mine onUnload")
  },

  created(){
    console.log("coach mine created")
  },

  attached(){
    console.log("coach mine attached")
  },

  ready(){
    console.log("coach mine ready")
  },

  moved(){
    console.log("coach mine moved")
  },

  detached(){
    console.log("coach mine detached")
  },

  pageLifetimes: {
    show: function() {
      // 页面被展示
      console.log("coach mine show")
    },
    hide: function() {
      // 页面被隐藏
      console.log("coach mine hide")
    },
    resize: function(size) {
      // 页面尺寸变化
      console.log("coach mine resize")
    }
  }
})